const getters = {
    token: state => state.user.token,
    name: state => state.user.name,
    imgUrl: state => state.user.imgUrl,
    user: state => state.user.user,
    loading: state => state.user.loading,
}
export default getters